package top.burning.confidant.model.pojo;

import java.util.Date;

/**
 * 地址表
 * @author tell
 */
public class Address {
    /**
     * 自增 id
     */
    private Integer id;

    /**
     * 地址 id，具有唯一标识，不可重复
     */
    private Integer addressId;

    /**
     * 用户 id 做外键，联系地址用户表
     */
    private Integer aUserId;
    /**
     * 详细地址内容
     */

    private String address;

    /**
     * 联系人
     */
    private String contacts;
    /**
     * 联系人电话
     */

    private String phoneNumber;
    /**
     * 创建时间，需用户输入（无此功能则无需理会）
     */

    private Date createTime;
    /**
     * 数据更改或者更新时间，时间获取系统当前时间
     */

    private Date updataTime;

    /**
     * 创建操作人员
     */
    private String createPeople;
    /**
     * 修改操作人员
     */

    private String delPeople;

    /**
     * 逻辑删除值，建议使用 0，1 表示
     */
    private Integer delValue;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getAddressId() {
        return addressId;
    }


    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }


    public Integer getaUserId() {
        return aUserId;
    }


    public void setaUserId(Integer aUserId) {
        this.aUserId = aUserId;
    }


    public String getAddress() {
        return address;
    }


    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }


    public String getContacts() {
        return contacts;
    }


    public void setContacts(String contacts) {
        this.contacts = contacts == null ? null : contacts.trim();
    }


    public String getPhoneNumber() {
        return phoneNumber;
    }


    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdataTime() {
        return updataTime;
    }


    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }


    public String getCreatePeople() {
        return createPeople;
    }


    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }


    public String getDelPeople() {
        return delPeople;
    }


    public void setDelPeople(String delPeople) {
        this.delPeople = delPeople == null ? null : delPeople.trim();
    }


    public Integer getDelValue() {
        return delValue;
    }


    public void setDelValue(Integer delValue) {
        this.delValue = delValue;
    }
}